module.exports = cc.Class({
    extends: cc.Component,

    properties: {
        info: cc.Label,
        fileProgress: cc.ProgressBar,
        byteProgress: cc.ProgressBar,
        close: cc.Node,
        checkBtn: cc.Node,
        retryBtn: cc.Node,
        updateBtn: cc.Node
    },
    
    onLoad () {
        var self=this;
        this.close.on(cc.Node.EventType.TOUCH_END, function () {
            this.node.parent.active = false;
            console.log("hello ");
            self.node.emit("init_login_push",true);
        }, this);

        // this.node.on("init_login_push",function(data){
        //     console.log("data ="+data.detail);
        // });
    }
});
